package com.yuda.campsite.service.impl;

import com.yuda.campsite.domain.PersonalFinance;
import com.yuda.campsite.mapper.PersonalFinanceMapper;
import com.yuda.campsite.service.PersonalFinanceService;
import com.yuda.common.core.web.domain.BaseEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Author: xiaohudie
 * @Date: 2021/11/30 10:30
 * @Version: 1.8
 */
@Service
public class PersonalFinanceServiceImpl implements PersonalFinanceService {

    @Resource
    private PersonalFinanceMapper personalFinanceMapper;

    @Override
    public int getCount(Map<String, Object> params, String provinceName, String campsiteName, String cityName, String phone, String idCard,String status) {
        return personalFinanceMapper.SelectPersonalFinance(params, provinceName, campsiteName, cityName, phone, idCard,status);
    }

    @Override
    public List<PersonalFinance> selectPersonalFinance(Map<String, Object> params, String provinceName, String campsiteName, String cityName, String phone, String idCard, Integer qisi, Integer offset,String status) {

        return personalFinanceMapper.SelectWZFPersonalFinance(params, provinceName, campsiteName, cityName, phone, idCard, qisi, offset, status);
    }

    @Override
    public Integer FwYangZhao(String orderNo) {
        return personalFinanceMapper.FwYangZhao(orderNo);
    }


}
